<template>
	<view>
		<view class="u-page">
			<!-- 所有内容的容器 -->
		</view>
		<!-- 与包裹页面所有内容的元素u-page同级，且在它的下方 -->
		<!-- <u-tabbar v-model="current" :list="list" :mid-button="true" active-color='#5098FF'></u-tabbar> -->
		<u-tabbar v-model="current" :list="list" active-color='#5098FF'></u-tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						iconPath: "home",
						selectedIconPath: "/static/img/home_active.png",
						text: '首页',
						isDot: true,
						customIcon: false,
						midButton: false,
						pagePath: '/pages/main/homePages',
					},
					{
						iconPath: "photo",
						selectedIconPath: "/static/img/results_active.png",
						text: '业绩',
						midButton: false,
						customIcon: false,
						pagePath: '/pages/performance/performance',
					},
					// {
					// 	iconPath: "https://wanxian-test.oss-cn-shenzhen.aliyuncs.com/%E5%88%86%E4%BA%AB789.png",
					// 	selectedIconPath: "https://wanxian-test.oss-cn-shenzhen.aliyuncs.com/%E5%88%86%E4%BA%AB456.png",
					// 	text: '分享',
					// 	midButton: true,
					// 	customIcon: false,
					// 	pagePath: '/pages/main/homePages_share/homePages_share',
					// },
					{
						iconPath: "/static/img/mall_gray.png",
						selectedIconPath: "/static/img/mall_active.png",
						text: '商城',
						customIcon: false,
						midButton: false,
						pagePath: '/pages/mallStore/mallStore',
					},
					{
						iconPath: "/static/img/my_gray.png",
						selectedIconPath: "/static/img/my_active.png",
						text: '我的',
						midButton: false,
						//count: 23,
						//isDot: false,
						customIcon: false,
						pagePath: '/pages/my/my',
					}
				],
				current: 0
			}
		},
	}
</script>

<style>
</style>
